use command line arguments for host and port