Update ConnectionHandler.cpp

Bug with SSL and listcategory (log)