Add support for XSUB and XPUB socket types. See issue #14.