added tcpconnect service. this code could be useful for htmlcontent too.