A Solution to the GTS-Based Selective Jamming Attack on IEEE 802.15.4 Networks