Encapsulate host, port and connection