move EventWrapper and transformer to websocket binding