A two-step chunk-based algorithm for offloading streaming traffic through a vehicular cloud