Java server for bots to make Trails Forward api calls and receive messages from the server