# File gofer/messaging/broker.rb, line 73
  def URL.split(s)
    t = Struct.new(:transport, :host, :port)
    d = t.new()
    s1 = URL.spliturl(s)
    d.transport = s1.transport
    s2 = URL.splitport(s1.hp)
    d.host = s2.host
    d.port = s2.port
    return d
  end