Initial implementation of the spaghetti web-socket-based messages router