Implement request handlers at the proxy level

This patch also implements initial chat functionality