implement SSL protocol layer basis