ruby net::http https download in chunks