preparation to https:// support