Adapted for new cow server
Merge branch 'master' of https://github.com/Geodan/cow