Implemented websocket creation and ok status messages