Allow the Operation.simplify() function to be replaced by the binding and fix assertion failures caused by unrecognized messages on the websocket