added reliable sockets to index.js