HIP-1237 logging multipath socket errors
HIP-1237 using gevent.socket if exists