Improve http_handshake in fork-echoserver.
Improve http_handshake in fork-echoserver.

Firefox 11.0's Websocket HTTP handshake header contains the 'Connection:' field
in the format:
Connection: keep-alive, Upgrade

So improve the handshake function to be more generic and handle HTTP headers
more liberally.

tatsuhiro-t/wslay