start building socket io compatibility