A survey on device-to-device (D2D) communication: Architecture and security issues. (15th January 2017)