Change interface to allow listening for multiple servers.

For example, http and https.