Example usage:
$ python gimme_port.py
usage: gimme_port.py [-r|--resolve] NAME
$ python gimme_port.py muhc.ca.http
29595
$ python gimme_port.py staging.muhc.ca.http
port 31079 is in use by 'nc' (pid: 28569), use --resolve
$ python gimme_port.py --resolve staging.muhc.ca.http
42820