Is this in my mind??

I don't know what to do. I don't know if I'm over thinking this or what.

I have a guy friend who is married and me and him are really close friends. But lately he has been flirting with me like crazy. And I am in a relationship and this guy knows that. My boyfriend is how I met this guy, they are close friends also.

Yesterday that guy came over to my boyfriends to have thanksgiving with us and he asked where I was sitting so he could come sit by me (weirdness #1) then when we would be talking he would wink at me at random times (weirdness #2). He kept grabbing my knee because it is very ticklish and he would wink after he would do that (#3) and he hugged me probably a dozen times yesterday and not just causal hugs.. deep hugs where he would smell my hair and hold me tight (#4) all with my boyfriend right here in arms reach. Am I the only one who noticed the weirdness because my boyfriend never mentioned it. Am I over reacting.. was he just being friendly ??

He also texted me when he went to his other thanksgiving (with his wife) and said "hey thanks again for lunch".. was that just friendly or was he looking for an excuse to text me because he told us thank you a dozen times here.

I'm nervous that I may have gave him the vibe by being too friendly that I may of wanted more than to be friends. I don't know, I haven't tried to but maybe he mistook my friendliness.. or now I'm mistaking his..