Support sendmmsg/recvmmsg.

Resolves #428.

This ended up being a lot more annoying than I thought, but oh well.