What I can say is 'How do you do?' is not a question. So,I concluded 'How do you do' again is the responce as socializing language function(greeting). It is used in formal situation and even some use 'I am fine' but in informal setting.You can google what native people say too.Thank you.