You should use a proper hex editor to see at which byte its failing.
Also please post some code, I never used the engines http stuff.