Made minimal changes to make this code compile again against libotr5.
TODO: Fill out empty callbacks and check libotr_message_{seding,receiving} funcs