re-support http/https access