Write response back to the client

Not writing anything is bad, just tell the client that everything went
ok when joining/leaving.