Java implementation of Bayou protocol