Validate format of content-length

Signed-off-by: Eduardo Silva <eduardo.silva@oracle.com>
Test: more unit tests for POST

Signed-off-by: Eduardo Silva <eduardo.silva@oracle.com>