Pass default port if port is nil

Addressable::URI returns nil for default port, if it is not provided in an URI