Added regression tests for low-level tx methods.
Fix: added missing checks in START_TX_THREAD and TX_QUEUE_FLUSH sockopt