Socket io

WIP - Do NOT merge (yet)