Adding xor proxy server.
Handling invalid JSON responses as session expired errors.