Missing include

Compiler complained about memset
Call SSL-Init only once for the lifetime