allow host/port to be specified on the command line