Don't crash on undefined response

When the underlaying socket crashes (EMFILE for example) the request callback is called without a res parameter (it is undefined) is such case the code will crash without letting the upper layer have a chance to know about it.