Returns a proper 404 with an errcode of M_RECOGNIZED for unknown endpoints per MSC3743.
Co-authored-by: reivilibre <olivier@librepush.net> Co-authored-by: Andrew Morgan <andrewm@element.io>