got http client, tcp client and server working