Support SSL in nagios check

Change-Id: I778ffe4074fe720d6d2b3721a33398e476a0c2a1