Wireless Personal Area Networks: Performance, Interconnection and Security with IEEE 802.15.4