I don't know if brokers often bet against their clients, but I have seen many, many trades going in a hair from stop-loss to yield a decent profit after.
Probably the factor of brokers betting against clients is much exaggerated, which looks perfectly logical, hence it switches responsibility...