Added function body to get specific header
Made erase of colon more transparent
Caught case where Content-Type and Content-Type-Foo are headers and you're searching for Content-Type when Content-Type-Foo comes first
Safer and more efficient string copying, and corrected some pointer bugs
Build on OS X
Added malloc error checking.
Avoid buffer overflow with strncpy.
Non-blocking request handling using a state machine
Method parsing fixed
Merge pull request #16 from eatonphil/master

Added function body to getHeader
Merge pull request #22 from patchhf/master

Build on OS X
Merge pull request #23 from jan-schreib/malloc-error-checking

Added malloc error checking.
Merge pull request #24 from jan-schreib/avoid-buffer-overflow

Avoid buffer overflow with strncpy.
Header parsing fixed
Improved request header handling
Improved request URI parsing
Some fixes after Valgrind
Merge branch 'issue25'