tests passing in http client
fixing websocket
docs and more tests passing