pub fn assert_inbound_username(
    m: &Message,
    expected_username: &str
) -> Result<(), Error>