add support for POST and POSTFIELDS curl options
Merge pull request #222 from Kraoz/master

add support for POST and POSTFIELDS curl options