docs: function onEnd() {
  		var data;
  		if ( err ) {
  			err.message = body;
  			return onError( err );
  		}
  		// debug( 'Response body: %s', body );
  
  		data = parse( body );
  		if ( data instanceof Error ) {
  			err = {
  				'status': 502,
  				'message': 'unable to parse endpoint response data as JSON: ' + data.message
  			};
  			return onError( err );
  		}
  		clbk( null, res, data );
  	}