http://superuser.com/questions/135719/windows-program-to-lim...
NetLimiter (free) and NetBalancer (paid, free for 5 processes) have been the go-to solutions for Windows for a little while.
IceFloor (http://www.hanynet.com/icefloor/index.html) is the OSX (10.7+) analog.