Added double checked locking for shared variable context. getContext() and createSocket() should now be thread safe.
Merge pull request #153 from devinrsmith/master

Added double checked locking for shared variable context in ZContext.