fixes #22, transport public, use proxy from env
adapt tests to new signHost, test didn't work since e3c34
added SoKeepAlive option to transport layer
rebased from upstream/master