Avoid exception if missing http Content-Length header