Remove dependency on cpp-netlib and boost::asio

Using libmicrohttpd and libcurl instead.

Each request now runs in a special thread, making it possible to block
on async operations from core.