a simple http proxy server with scala implement