added a helper method to print more readable/noticable error on agent console, refactored checkPortAvailable function as well
added a helper method to print more readable/noticable error on agent console, refactored checkPortAvailable function as well

evernym/plenum,evernym/zeno