improved proxy error handler to avoid logging out common socket hang up errors.
0.3.4