         # File lib/em/protocols/header_and_content.rb, line 124
    124:         def headers_2_hash hdrs
    125:           hash = {}
    126:           hdrs.each {|h|
    127:             if /\A([^\s:]+)\s*:\s*/ =~ h
    128:               tail = $'.dup
    129:               hash[ $1.downcase.gsub(/-/,"_").intern ] = tail
    130:             end
    131:           }
    132:           hash
    133:         end