fixed websocket server to work with websocket.org
Merge pull request #531 from waynix/websocket_sample_fix

fixed websocket server to work with websocket.org