(MAINT) Ensure TLS is enabled first on Windows
(MAINT) Ensure TLS is enabled first on Windows

Prior to this commit the code to set options would run before
the function to enable TLS connections. As the former relies
on TLS connections this caused errors.

This commit ensures setting TLS is the *first* action taken
after the functions are defined.

puppetlabs/puppetlabs-bootstrap,puppetlabs/puppetlabs-bootstrap