few fixes and force api 1.5 and SSL