Changed to plain encoding for the proxy
Modified protocol for plain encoding to proxy