fixed websocket server to work with websocket.org

Hi there,
I changed the sample so that the websocket test from websocket.org will work with your code.