Architectures for building secure vehicular networks based on SDN technology