Set the proxy service a bit earlier to avoid crash.
Merge pull request #45 from brightray/fix-proxy-crash

Fix a crash introduced by #41