Truncate HTTP errors at 500 characters, not 180.

I hit this personally with a misconfigured OAuth service and
I couldn't diagnose the problem due to the message being too
short.