implement SSL skelton