expose more meta information on HTTP errors

This PR adds properties you would want to inspect in the `client.on('error')` handler