Adding TLS encryption to Mcollective

Do not merge, currently untested, will try to test next week. 
This second if block should not be necessary, it should be covered under the else block above.