Try to fix broker behind proxy behavior.