Make sure we never give a NULL context to requests.

Use a default context instead. This allows apps without a context
management to still have cookies and HTTP digest authentication (without
persistence to disk).

First part of fix to #10239 (it also needs changes in WebKit).