You'd do this by configuring a backend server adapter class. As HTTPS is generally terminated at a higher level, we don't build support for it into the libraries due to the complexity and variability of the requirements.
However, you can easily implement your own ServerConfig class (using the library versions as a base).