this.callback = callback;
Set<Handshake> handshakes = new HashSet<Handshake>();
handshakes.add(new Hybi13Handshake());
handshakes.add(new Hybi08Handshake());
handshakes.add(new Hybi07Handshake());
handshakes.add(new Hybi00Handshake());
this.handshakes = handshakes;
this.next = next;
}