Modified client. If one argument is given, assumed to be port. If two are given, first is host, second is port.