adds user field to localNet db
implements latest changes to server communication protocol
implements socket reply callbacks and some logic to add/remove localNets and prototypes from server
changes emit event names
adds TODOs and functions for sending messages to http subscribers. needs testing.