metacat returns error that is not an xml document
The error "Connection reset by peer" is sometimes returned to the client when a
document is returned. This error is not encased in the <error> tags that
metacat should encase it in. This causes seemingly random connection errors
from the clients POV.