Remove unused rpc calls. Fix websock stream connection.