Fixed POST/PUT handling

Fixes #22
Merge branch 'master' of github.com:SlyMarbo/spdy