Build 2: Enable SSL, Improved error handling