Made server connection easily customizable.