add some new helper classes for security, logging and packets

thanks to all for the ideas (special to fabian)