Fixed bug which changed the URI after calling toUnicodeHostString.
Fixed bug that prevented the https scheme from using static string.