Added Secure wireless bootstrapping (not tested). Code clean-up.