Remove dead code.
Fix error handling in httpLocalRequest.

This avoids a crash when POST-ing to the local server.
Update CHANGES.