Adaptive Cooperative Highway Platooning and Merging