make connection errors a http server error (bug 884855)