python implementation of ostatus protocol