Making UrlHelper's methods virtual

/cc: @rynowak @yishaigalatzer 
will remove this