Add obfs4 bridge line unittests and regression tests for #12932.