add support for different ports and protocols (aka https)