preparing for ssl/https server support