proxy config refactored with 'QSettings' class.
proxy errors handling added.