Add on('error') handler to proxy blueprint.

If we don't handle this every time there is an error like ECONNRESET
then whole server get's killed which is really annoying.

Closes #2629 refs #1921