* set content_length as len(body) if response ContentLength is -1 * move content-length calculation to utils * adding basic tests Co-authored-by: Mzack9999 <mzack9999@protonmail.com>