migrated to zmq license.
various socket API improvements.