only real tip i can give you is to time your attacks. most melee weapons has a half sec delay before the hit. I always swing a little early i usually get the hit on 'em.
as for long range melee deaths, i wouild usually put the blame to lag. It always frustrates me when it happens.
I had one for the spy. Instead of a knife, the spy has a garrot wire. The metod of killing is to get behind the enemy and strangle them with it. The thing is your disguise is not lost when attacking. It takes a few secends to strangle the victim. When being stragled the victim loses health...
the rocket class is very useful if you know how to use it. The trick is to not aim at the enemy directly. The rocket follows an arc path. If you aim your rocket slightly above their head, it should land a direct hit or at least hit at their feet and possible a kill.