Added semicolons to two functions to fix doxygen issues and deleted ssl param and replaced it with ctx param