hi richard,
do you really want two distinct servers or do you just want http and https via a single port (eg because of restrictions of your service provider) aka port unification
i think you'd need to do the switching at the protocol layer. currently vertx sets up the channel based on configuration (http or https) however there is an example handler in netty (
http://netty.io/3.6/xref/org/jboss/netty/example/portunification/PortUnificationServerHandler.html) that allows you to have a single handler that switches automatically to ssl if required (by recognising the ssl handshake in the initial request)
you'd need to patch HttpServer to add this functionality however - but it doesn't look too difficult (and might be useful if its a common problem for people on hosted platforms)
cheers,
peter