func NewURIFromHostPort(host string, port uint16) (*URI, error) {
	uri := DefaultURI()
	err := uri.SetHost(host)
	if err != nil {
		return nil, err
	}
	uri.SetPort(port)
	return uri, nil
}
func NewURIFromHostPort(host string, port uint16) (*URI, error) {
	uri := DefaultURI()
	err := uri.SetHost(host)
	if err != nil {
		return nil, err
	}
	uri.SetPort(port)
	return uri, nil
}
func NewURIFromHostPort ( host string , port uint16 ) ( * URI , error ) { uri := DefaultURI ( ) err := uri . SetHost ( host ) if err != nil { return nil , err } uri . SetPort ( port ) return uri , nil }
// NewURIFromHostPort returns a URI with specified host and port.
NewURIFromHostPort returns a URI with specified host and port .