Don't worry. I don't think your dog likes you like that.
He..
It's like..
Basically, he wants to make you his B.
That's a sign of dominance. If you let them do it, they think they own you.
That's why some dogs will hump a strangers leg. They're unfamiliar so they have to reestablish the hierarchy.