refactored transport layer to accept headers. added the worker queue/task mgr.