Adjust the proxy setup.

Add ServerProxy to handle server-side only code.
Remove proxy breaking methods from CommonProxy.
Move proxy files to their own package.