Do not process commands if sock->user_data is NULL. It may be