Decentalized Secure Messaging Network

#DSMNET Server Module ##START (users, key) start() requiures two arguements, the first is users and the second is key which is optinal and should only be used by experienced users. Start() will create two DSMNET servers, the first being HTTP on port 3265 and a socket.IO server 3266.

###users The Users variable should be in JSON format.
Each user should have their own JSON {}.
Here is an example Users variable:

var users = {user : 
{publickey : 
online : "false", 
subscribers : [], 
subscribedto : []}};

Each user should have a publickey which is the publickey of their password, and online : "false" and two empty variables called subscribers (array) and subscribedto (array).

###key - optinal The key variable should be a string. The key variable is used to generate a RSAkey which will be used for authentication of users, only. It is optinal and thus we do not advise you use a custom key as our module will generate one for you.

Example key: 'password5555