Added command line arg support

Server and client scripts can now be passed address/port. Other minor changes to logging.