Added SO_KEEPALIVE option