Reference (Groovy) implementation of NORR (Not Really REST)