Support argument parsing for port and disable/enable resolving hostnames to ip