added max_keepalive_requests, added acceptance test