Open socket client before server shutdown proxy 

When using sockets the following case can occur:
— the server starts with the proxy (without error)
— a client open a socket through the proxy (without error)
— the server is stopped manually
— the server is started again
— the proxy fails with a 'Fatal error: connect ECONNREFUSED' 

This is happening because a client is still trying to connect to the server.
The proxy transfer the socket request, but the server is starting, so it does not respond to requests yet.

Handling errors on the http-proxy instance is enough to handle this case.
The error is displayed and further calls are properly handled.