function options( opts ) {
	var out = {};

	out.method = opts.method;
	debug( 'Method: %s', opts.method );

	out.protocol = opts.protocol+':';
	debug( 'Protocol: %s', opts.protocol );

	out.hostname = opts.hostname;
	debug( 'Hostname: %s', opts.hostname );

	out.port = opts.port;
	debug( 'Port: %d', opts.port );

	out.headers = getHeaders( opts );

	// debug( 'Headers: %s', JSON.stringify( out.headers ) );

	return out;
}
Returns request options based on provided options.

@private
@param {Options} opts - provided options
@param {string} opts.method - request method
@param {string} opts.protocol - request protocol
@param {string} opts.hostname - endpoint hostname
@param {NonNegativeInteger} opts.port - endpoint port
@param {string} [opts.token] - GitHub access token
@param {string} [opts.accept] - media type
@param {string} [opts.useragent] - user agent string
@returns {Object} request options