Work on setting up PHP proxy (unfinished)