fixed deadlock in CBL_URLProtocol by forcing callbacks to run in the same runloop mode

solves a problem when webview synchronously loads data using
CBL_URLProtocol (no http server)