added #alias and #socket method to work with the socket.io socket and to support actor aliases
updated version