tcp-to-http-to-tcp server/client