Seems like there was a really old PR that partially implemented this already: #75
Initially we thought about moving to Mellium for Matterbridge because component support would be quite useful, but with that above partial implementation existing it might not be so hard to get working in this library?