Commented out unlock for some debugging fun
Removed line
Added setting to allow bad certificates