Newsocket io

Wasted an afternoon on this.