Make server protocol and port also configurable.