Url Encoding from HTTP library is broker for us with version 4000.0.5 + sandbox ignore

I copied the code from the previous version of the HTTP library, because the new encoding is not accepted by the trackers. If you look at the spec (https://wiki.theory.org/BitTorrentSpecification#Tracker_HTTP.2FHTTPS_Protocol) it shows that the earlier version is correct for us. According to wikipedia, however, there is no clear standard anyway.

Example: urlEncode [chr 212]
Version 4000.0.4: %d4
Version 4000.0.5: %C3%94

This is the commit that changed the HTTP library: https://github.com/haskell/HTTP/commit/b0177fa952a8d0f77e732cb817197864679b1c83