Initial import from https://github.com/zatosource/zato