Interrupt safe {g|s}et_socket_active_status
Merge pull request #11 from davids5/interrupt_safe_flag_checking

Interrupt safe {g|s}et_socket_active_status