- moved hostname resolution functions to DNS object
 - minor whitespace fixes
don't re-use ports between different harnesses