Enable https redirect support and get IMEI

Enable support for https redirect, for example:
http://www.gmail.com -> https://www.gmail.com

Added ability to retrieve module IMEI.
Add reading IMEI and follow HTTPS redirects to example.
Merge branch 'darrensi-master'