delegating socket work to httplike package