Fix setting relayhost to omit the : when no port is given