Supports both of HTTP and HTTPS