fixed a few issues with post

can't set content length in modern browsers.
wrapped require, fixed bug with lib load
new version