ZMQ::Socket can be instantiated with a block that implicitly closes it at the end.
Resolves #1.