Use specified Content-Length if provided

This change allows to test how endpoints deal with invalid POST (advertising more or less bytes than actually sent, etc).
Merge pull request #20 from ignacio/patch-1

Use specified Content-Length if provided