mg_open() accepts 3rd param: mode
Merge branch 'master' of ssh://github.com/valenok/mongoose