switch handler for https, too
fix comment