Rename socketConnected() to socketOpen() to reduce confusion