0desktop gets feed metadata from the OCaml
Fixed another race in the unit tests

If we started the Python slave while the test server was handling a
request, the slave would inherit the socket and it therefore wouldn't
get closed.