remove dead code and fix static correctness in tcpclient
Merge pull request #16 from uber/tcpclient

remove dead code and fix static correctness in tcpclient