Squashing commits: Added tests + code cleanup of module zmq_transport.common

Added tests for zmq_base.

Code cleanup: Removed unnecessary functions from utils.py

Tests + code cleanup for module zmq_transport.common

Added tests for zmq_transport.common.errors