Routing Attacks and Countermeasures in the RPL-Based Internet of Things. (22nd August 2013)