Added SO_LINGER get/setsockopt support