Fixed index
Added EchoServer for websocket and tcp
API now sends to socket