Update gemfile to use secure rubygems.
Add support for XSUB and XPUB socket types. See issue #14.
Merge pull request #15 from mattconnolly/master

Adding support for XSUB and XPUB socket types