This is a somewhat annoying issue. It might just be an issue with HAProxy, but it might be possible to resolve with better config generation.