first demo succesful
host name and port are passed as cmd line pramaters