Updated zsock man page for zsock_endpoint
Fixed memory leak in zring selftest
Added workaround for libzmq issue #1169