Add handlers to catch broken pipe errors.

One in WSGIServer, to catch the error when raised from
SocketServer.BaseServer's finish_request, one in WSGIRequestHandler (by
creating a subclass of ServerHandler), to catch the error when raised in
wsgiref.handlers.BaseHandler's finish_response. Fixes #4444.