included alternative flatclient from ulilicht, with updates from me