better message for http/https die