transport/websockets: Instrumented outbound events

Also discovered a pubsub leak using that instrumentation, and fixed it.