support commonjs
fix for strict mode
fix sending of raw strings as post body
Merge pull request #2 from jaredly/master

support commonjs