Updated to support error callback on proxy.web and start/proxyReq/end co...

This modification allow to use error callback function on proxy.web function and also maintains the server events start / proxyReq / end