Show the detailed socket error as debug output

Authored by scarpino on Jan 15 2020, 11:44 AM.