Added support for cookies for use with load balancing.