Implements a simple reverse HTTP proxy server