Modified the code so that the server URL can be passed as an argument to the program