fixed 2 bugs and added new method

Bug #20428: setBindAddress sets wrong variable
Bug (untracked): loadModule() and unloadModule() don't work right

Added loadedModules() method which returns an array of the loaded module names, since  isn't accessible publicly