remove trailing whitespace (my editor would do this all the time)
free memory allocated by unescape_special_chars() after not needed anymore, should fix #3
free memory allocated for reading and parsing POST data after copying to slist, should fix #2
FILE requires including stdio
Merge pull request #4 from LeSpocky/master

quick fix not freed memory reported in #2 and #3