fixes bug in ping keepalive function
adds websocket to python client
updates reference to server