Improved parse_headers().
Improved parse_headers().

Added a handful of comments and made to code look prettier. Also made
the regular expression more strict for security purposes.

Thanks to Nikolaos Korkakakis for the suggestion.

codebendercc/compiler,codebendercc/compiler,codebendercc/compiler,codebendercc/compiler