Pipeline - Source upload

added response handlers, a threaded socket wrapper for use by client
(responds to pings sent by the server), and other minor changes.