refactored SSL initialization. implemented mg_connect()
refactored SSL initialization. implemented mg_connect()

Beirdo/gjhurlbu-custom-memory-mongoose,Beirdo/gjhurlbu-custom-memory-mongoose,Beirdo/gjhurlbu-custom-memory-mongoose,Beirdo/gjhurlbu-custom-memory-mongoose,Beirdo/gjhurlbu-custom-memory-mongoose,Beirdo/gjhurlbu-custom-memory-mongoose,Beirdo/gjhurlbu-custom-memory-mongoose