Tweak socket error message in the libevent driver.