added arguments to server and client to set server name and port