I think there is no correct or wrong hug, you just have to judge
for yourself if it's appropriate to hug your lady friends or not.
Some girls are okay with friendly hug, some girls are not.
I don't think the TS has indecent thoughts, perhaps, inexperience
with girls? Seriously, as long as your thoughts are not dirty, then
you will automatically hug appropriately. So, just relax. 