Error if trying to create SSL socket when SSL is disabled.
Error if trying to create SSL socket when SSL is disabled.

Review: https://reviews.apache.org/r/35852

chhsia0/mesos,reneploetz/mesos,yuquanshan/customizedMesos,asamerh4/mesos,craimbert/mesos,gsantovena/mesos,andschwa/mesos,verizonlabs/mesos,dforsyth/mesos,craimbert/mesos,kaysoky/mesos,dforsyth/mesos,abudnik/mesos,yuquanshan/customizedMesos,dforsyth/mesos,kaysoky/mesos,chhsia0/mesos,asamerh4/mesos,abudnik/mesos,neilconway/mesos,jpeach/mesos,chhsia0/mesos,asamerh4/mesos,andschwa/mesos,Gilbert88/mesos,chhsia0/mesos,abudnik/mesos,andschwa/mesos,zmalik/mesos,Gilbert88/mesos,verizonlabs/mesos,Gilbert88/mesos,zmalik/mesos,zmalik/mesos,Aman-Jain-14/customizedMesos,yuquanshan/customizedMesos,chhsia0/mesos,verizonlabs/mesos,jpeach/mesos,chhsia0/mesos,asamerh4/mesos,verizonlabs/mesos,abudnik/mesos,dforsyth/mesos,yuquanshan/customizedMesos,kaysoky/mesos,andschwa/mesos,dforsyth/mesos,andschwa/mesos,zmalik/mesos,neilconway/mesos,Gilbert88/mesos,reneploetz/mesos,zmalik/mesos,jpeach/mesos,Aman-Jain-14/customizedMesos,neilconway/mesos,jpeach/mesos,Gilbert88/mesos,Aman-Jain-14/customizedMesos,asamerh4/mesos,gsantovena/mesos,Aman-Jain-14/customizedMesos,dforsyth/mesos,reneploetz/mesos,abudnik/mesos,zmalik/mesos,jpeach/mesos,chhsia0/mesos,dforsyth/mesos,gsantovena/mesos,asamerh4/mesos,Aman-Jain-14/customizedMesos,craimbert/mesos,jpeach/mesos,asamerh4/mesos,andschwa/mesos,andschwa/mesos,craimbert/mesos,gsantovena/mesos,zmalik/mesos,gsantovena/mesos,neilconway/mesos,kaysoky/mesos,kaysoky/mesos,verizonlabs/mesos,gsantovena/mesos,Gilbert88/mesos,neilconway/mesos,verizonlabs/mesos,yuquanshan/customizedMesos,abudnik/mesos,neilconway/mesos,jpeach/mesos,reneploetz/mesos,kaysoky/mesos,reneploetz/mesos,abudnik/mesos,kaysoky/mesos,craimbert/mesos,Aman-Jain-14/customizedMesos,verizonlabs/mesos,yuquanshan/customizedMesos,Gilbert88/mesos,Aman-Jain-14/customizedMesos,neilconway/mesos,yuquanshan/customizedMesos,craimbert/mesos,reneploetz/mesos,craimbert/mesos,reneploetz/mesos,gsantovena/mesos