[minor] Follow the same .Server pattern as node

This patch ensures compatibility with http, https and net servers.