This should take a port as well, so it will match even if the agent listens on something else.

Eventually we will want a way to specify an alternate protocol (ie, https) and a port different than what the agent is listening on, in case we're behind a proxy. We can add that later.