Refined SSL API