Added basic server and proxy classes. These need to be re-thought.