Making UrlHelper's methods virtual

/cc: @rynowak @yishaigalatzer 
what is this for?