Add required status argument to -T switch
Fix bug: return socket_timeout_state on timeout
Added tests for -T parameter