Implement cookie forwarding for api proxy

The cookie name on the client gets prefixed with the name of the api and a separator. This prevents overwriting a cookie with the same name from a different api host and ensures that the cookies retrieved from the client will forwarded only to the correct api host.