Initial work for #16, adding SSL upgrades to NetSocketf
Minimize the use of test_utils.js