Removed noexcept from destructors; added some flags for chunked transfer and timeouts.