Refactored client script a bit
Added connection_manager side implementation of client-server protocol, provided simple example in server.coffee.
Added docs for created methods (not all yet)