implemented HyBi00/Hixie76 - RFC6455 WebSocket especification for issue #2