Fix Cookie issue and add support for HTTP 20x without Content-Length.