add the function about communicate by SSL