Merge pull request #102 from trevorbernard/master

Fix issue #101 - Change bind to have the same API as JZMQ
Backport fix for race condition on shutdown