Better handling of relative URLs

convert URLs that do not contain a protocol and do not start with the host name into server internal URLs