Question: when a guy says he wants to hug you?
Answer: It could mean he feels close enough with you to ask for a hug. It could mean he's romantically interested in you. It could mean he's a total creep that just met you and wants to cop a feel. Your situation sounds like one where you've been talking for not too long and out of the blue he asks for one in person.