Rebuilt skeleton.
Fixed problems in skeleton.
Started base of websocket protocol.