pub type Server
pub fn close(server: Server) -> Promise(Nil)
pub fn serve( port: Int, handler: fn(Request(RequestBody)) -> Promise(Response(ResponseBody)), ) -> Result(Server, String)