Optimise lookup of encoding when sending frames
Doc for Connection#send
Fix issue where #send would change encoding of passed string

There may well be a better way of doing this, that doesn't involve duping all strings, but this works for now
Fix comment
Merge branch 'optimise_encoding_check'
Released version 0.3.7
Fixed a couple of 1.8.7 bugs - closes #85
Released version 0.3.8
Use http_parser.rb and refactor handshake handling
Expose connection parameters to user code via handshake object
Moved version -> handler class logic to factory
Slight improvement to common specs
Expose the protocol version on handshake object
Rewrote old handler specs exactly for Handshake

* Fixed one bug (wasn't checking http method)
Integration test for Handshake#origin
Fixed some 1.8.7 bugs
Merge branch 'http_parser' into b0.4
Merge pull request #81 from visfleet/master

Added secure_proxy option for when em-websocket is behind an ssl terminator
More informative errors when handshake fails and handle duplicate Upgrade header edge case
Expose HTTP::Parser error message in handshake err