 connect = require "connect"
 seaport = require "seaport"
 logger = require "winston"
+uuid = require "node-uuid"
 moment = require "moment"
 colors = require "colors"
 assert = require "assert"

        msg = "Got HTTPS port from the Seaport: %s"
        assert identica = @constructor.identica()
        cfg = config: config, identica: identica
        record = @seaport.register identica, cfg
        assert _.isNumber(record), "got mistaken"
        logger.info msg.green, "#{record}".bold

        msg = "Got HTTP port from the Seaport: %s"
        assert identica = @constructor.identica()
        cfg = config: config, identica: identica
        _.extend cfg, uuid: uuid.v4(), type: "http"
        record = @seaport.register identica, cfg
        assert _.isNumber(record), "got mistaken"
        logger.info msg.green, "#{record}".bold
