TCP based network proxy