Added https:// verification

Added a verification that checks the present URL for a secured protocol.
Minor corrections and bug fixes