Save proxied IP and do the same for API calls

hard