Added logout to websocket. Updated websocket to return messages with OKs and ERRORs.
Added logout request to test client.