Implemented get_current_ip().

Program now gets current public IP. Context manager automatically
authenticates and obtains recorded and current IP addresses when used.
Logs out automatically on exit as long as no exceptions occurred.

Also implemented _request_json() method.