Fix content length in proxy.js when response from server sends it as a string

Like it says.