Fix discover command failed to discover keystone in ssl
Fix discover command failed to discover keystone in ssl

Fix the blocking behavior of keystone discover when trying
to obtain information of the local keystone. It does not
block while checking and checks both protocols HTTP and HTTPS

Change-Id: I43616a348bf04163bf7967a12957556d7edfde40
Closes-Bug: #1270154

alexpilotti/python-keystoneclient,alexpilotti/python-keystoneclient,sdpp/python-keystoneclient,klmitch/python-keystoneclient,klmitch/python-keystoneclient,jamielennox/python-keystoneclient,metacloud/python-keystoneclient,metacloud/python-keystoneclient,ging/python-keystoneclient,magic0704/python-keystoneclient,Mercador/python-keystoneclient,darren-wang/ksc,jamielennox/python-keystoneclient,magic0704/python-keystoneclient,ging/python-keystoneclient,jamielennox/python-keystoneclient,darren-wang/ksc,Mercador/python-keystoneclient,sdpp/python-keystoneclient