Added TCP connection support