RPC: fix send('eventName')
test: fix style
allow packets of different types to pass through

This lets you pipe() a single stream to both an RPC and Pubsub stream and it will just work, no matter if it's RPC or an event.