Merge pull request #499 in CASA/casa from hotfix/CAS-11377 to master
* commit '86d6e3fc1da2b9d3e0d7464476091b8cc37de485':
Fixed Indentation Errors
Fixed ssl deprecation and ssl protocol error. Update ssl.PROTOCOL_TLSv1 to ssl.PROTOCOL_TLS. This change will only work in python 2.7.13 and greater