Merge pull request #110 from mksh/master

Added basic proxy support to httpclient
remove extraneous double crlf after body when writing hixie76 upgrade message
do not call handler.flush() after hixie76 upgrade message
do not strip() nonce, since it could start with whitespace
Merge pull request #111 from flaviogrossi/master

some fixes for websocket protocol 76 - I've tried to reproduce the whitespace test but couldn't trigger it. As the RFC doesn't stats that whitespaces are not allowed I'm keeping it. let me know if it breaks any application (it hasn't broke my apps and tests)
fix hixie76 protocol

- correctly handle rawDataReceived buffering
- send the closing frame to the client before losing the connection
- send websocket upgrade header before receiving the challenge to properly
  support haproxy
fix message extraction from frame in hybi protocol when the client sends unmasked data
Merge pull request #112 from flaviogrossi/master

some fixes for the hixie protocol
pass kwargs to request handler's initialize method
Merge pull request #113 from flaviogrossi/master

pass kwargs to request handler's initialize method