Add CPP_NETLIB_URI macro to check for cppnetlib-uri library.
Add test for class HttpError.