If somebody, especially a stranger, opens a conversation with "How are you?", I will treat it as a greeting- a bit of an awkward greeting- but it is completely acceptable as a greeting; and therefore I will reply with a greeting- usually a customary one like "Hello" or "hi" in a friendly way...