BlinkToSCoAP: An end-to-end security framework for the Internet of Things