VanetMobiSim: a configurable simulator for generating realistic mobility patterns for VANETs