socket: set SO_LINGER.