Protecting the Internet of Things with Security-by-Contract and Fog Computing | IEEE Conference Publication | IEEE Xplore