Added handling of content_length + keep-alive.