Reverted cb65d90a hotfix and modified the URL escaping to comply with RFC2396/RFC2732. This fixes issues with unicode encoded parameters (%uXXXX).