         ext: ''
         usn: config.uuid + (if config.uuid is (customHeaders.nt or customHeaders.st) then '' else '::' + (customHeaders.nt or customHeaders.st))
 
-    # specified headers are included in every request, merge them with headers passed to function
+    # these headers are included in every request, merge them with the request specific headers
     includeHeaders = ['cache-control','server','usn','location'].concat Object.keys customHeaders
 
     # build message string

    for header in includeHeaders
        message.push "#{header.toUpperCase()}: #{customHeaders[header] or defaultHeaders[header]}"

    debug message.join ', '
    # add carriage returns and new lines as required by HTTP spec
    message.push '\r\n'
    new Buffer message.join '\r\n'

    )

# parse headers using http module parser
# this api is not documented nor stable, might break in the future
parseHeaders = (msg, callback) ->
    parser = http.parsers.alloc()
    parser.reinitialize 'request'
    parser.onIncoming = (req) ->
        http.parsers.free parser
        callback null, req
    parser.execute msg, 0, msg.length
