More readable SocketException::toString()

More readable SocketException::toString() backport