you should split the encoded version, otherwise protocol will still be a unicode
same for proxy