I am the same way. I only like people that I know really well to hug me. I even have a problem with "friends" (by that I mean one level above "acquaintance") hugging me. I prefer family and close friends. I am also a really private person. I won't push people away who try to hug me. I just try and downgrade it to a side hug.