Follow-on to #9712, analogous to #9714, but for the /make_join / /send_join endpoints for MSC3083.
- Figure out where to hook into the make-join / send-join flow.
- Check the space membership based on the allow parameter of the join_rules.
- Reject if the server is not a member of the space. (The MSC talks a bit about peeking in this case, but this is being left unimplemented for now.)
Hopefully this can re-use much of the code from #9714, but will hook into it in a different spot.