Move code that converts an URL to the punycodes version into UrlUtils class.
Also move the code that checks user inserted URL validity to UrlUtils class.