Update debug logger set. Turn level to debug instead of info when set.
Wrap the socket and force retries if failure encountered