AsyncHttpClient/async-http-client — pull request #293 by normanmaurer (2013-05-07 04:34:24+00:00)
Title: Make sure no bytes are lost during the handshake

This fix the problem @jfarcand reported on the netty issue tracker:
https://github.com/netty/netty/issues/1331

I wonder why you not used the WebSocketClientHandshakerFactory as it would have returned the WebSocketClientHandshaker08 which handles all of this correctly already.