test implementation of a simple proxy http server