the port is specified in url according to RFC, host header do not include port number
fix websocket bug, Issue #26
check SPDY socket by socket.isSpdy
Merge pull request #27 from chemhack/master

Fix websocket bug