socket io connecting but not emitting