lcr gateway can now be given a hostname that is used in request-uri when
request is sent to the gateway. hostname is not, however, used in
forwarding the request. forwarding is still based on gateway's ip
address, port, and transport protocol. this is in order to be able to
keep on supporting from_gw() and to_gw() functions.
-- juha