URLParser should use TextEncoding through an abstract class
Created attachment 350940 [details] Patch
http://trac.webkit.org/r236565
<rdar://problem/44840899>