C library for RestAuth (incomplete)