Would it make more sense to pass the HostAndPort around rather than passing two arguments/fields everywhere for every port?