Adding an optional `onError` handler to proxy configuration.

Allow for custom processing of errors returned by the underlying `nipple.request`.