Just when I thought it was impossible to make a good HTTP load balancer with OpenBSD I noticed hoststated.
This avoids the problem of losing the client IP address by giving you a mechanism for manipulating HTTP headers. Now we won’t be needing more expensive solutions.