Logout: add function to perform a logout request

Logout must happen server-side via a CURL.

Also, add a few sentences to the README.