Fixed considered invalid certificate in hsts over proxy.