If you chill it, the pellets will fall out pretty quickly.
+1 on this if you're kegging or can chill your carboy (sit it outside overnight?). I normally just dryhop in primary and let everything settle out in the keg.
Make sure you have that black plastic cover on the end of your racking cane before you start transferring, and try to transfer as little sediment from the bottom as possible.
The mesh bag can have issues - I've done it once, the mash bag clogged several times and I had to keep pulling it out, cleaning, and restarting the siphon (introducing air and increasing chance of contamination).