Converts url of incoming request into a utf-8 encoded string