HTTP authentication

Authentication is supported using callbacks: using the ne_set_server_auth function, a callback can be registered which will supply authentication credentials upon demand. In an interactive application, this will typically be done using some form of username/password prompt.

Two types of authentication are supported: server authentication (via the ne_set_server_auth function), and proxy authentication (via the ne_set_proxy_auth function).