Now I think it is a very calculating move, perhaps dominance being in mind.
Does he do anything else that seems like he's trying to dominate you? Does he mind you when you ask him to sit or come? Does he seem to respect you in other areas? Does he challenge you? Does he display any dominant body postures? If not, then it's probably one little thing he's trying to get attention and not a big "dominance" issue. Most dogs aren't dominant.
So, what everyone else said about ignoring, giving no reaction and taking away his favorite toy.....YOU. LOL. When he comes close to you, like Renee said, ask for a sit or some other incompatible behavior. If he's sitting, it's harder for him to poke you with his nose.
I have the same thing with my Doberman. He's especially pushy, and especially when I get out of the shower. I do EVERYTHING wrong. I don't practice what I preach one bit. I shreak and giggle and tell him, "a-h-h-h...go away, you little ****" in a playful, half pretending, scolding voice. So, needless to say, he keeps doing it and licking the lotion off my legs. Of course, there's no hope around here. If he doesn't get me, my Chihuahuas will.
The only thing that works for me is telling him a command he really knows already and knows well, and that's either "leave it" or "away." And I can make my voice a little more serious and not so giggly, turn my face away so he can't see me laughing... and he'll buy it and go away.
So, there's a perfect example of pure, unadulterated, inconsistancy. He's allowed to get away with a little of that nonsense because his Mom is about as nutty as he is but then there
IS a limit to how much cold, wet nose one can take. LOL.