Add support for setting the port in the connection