Added handlersocket error handler and config section