if it were `TcpMessages.register(handler)`, would that work better?