fixed the tcp_persistent_flag to accept named flags as well