Some initial code for a proxy server