AndServer
Web server and web framework of Android platform
...Developers can configure ports, timeouts, listening addresses, socket factories, and SSL contexts through a builder API. Request objects expose local and remote connection details for application logic and diagnostics. A separate proxy mode maps incoming hosts or addresses to upstream HTTP and HTTPS destinations. The proxy component performs forwarding but does not provide load balancing.