Groovy implementation of ActivityStrea.ms protocol