Added support for hostname and port in patchdb script
Merge remote-tracking branch 'rexxars/patchdb-hostname-support'