switch to c api 0.3.12, remove pubfile verification, http error handling, make check