Make socket multiplexer test (hopefully) deterministic.

Was a silly programming mistake: should select on [mock_socket], not rl, which
may be empty if there is a race.

This should fix https://github.com/ucb-sts/sts/issues/22