created https server if https is specified