Added tcp client.
Added tests for tcpclient.