[oauth] uses libcurl instead of deprecated functions (fixes bug #11)
Force static libraries for pkg-config.
Display HTTP return codes correctly.