running python interact as a websocket rpc server