Get length of the message body (Content-Length header value).
This function may return -1 if Content-Length was not specified.