var app = require('express')(),
server = require('https').Server(app),
io = require('socket.io')(server);
var redis = require("redis");
var client = redis.createClient();
var requestify = require('requestify');
function log(log) { console.log('[APP] ' + log) }
server.listen(55);
log('Локальный сервер запущен на порте 8081');
var socket = io.connect('https://domain.name:55', {secure: true});