function onResponse( response ) {
		res = response;
		if ( res.statusCode !== 201 ) {
			err = {
				'status': res.statusCode,
				'message': ''
			};
		}
		debug( 'Received a response from query endpoint.' );
		debug( 'Response status: %s.', res.statusCode );

		debug( 'Response headers: %s', JSON.stringify( res.headers ) );

		res.setEncoding( 'utf8' );
		res.on( 'data', onData );
		res.on( 'end', onEnd );
	}
Callback invoked after receiving an HTTP response.

@private
@param {Object} response - HTTP response object