Subject: | Expose ETIMEDOUT as 408 Request Timed Out |
Socket errors are reported as 500 Server Error. Not all socket errors
are equal; connection timeouts, for instance.
Also, consider placing out-of-band status in a response header, such as
X-PCC-HTTP-Status. A standard component status mechanism will simplify
application requirements for handling problems.