On OS X you can achieve something similar using ipfw
For example,
sudo ipfw pipe 1 config bw 500KByte/s
Limits all network on your box to 500kb/s
sudo ipfw add 1 pipe 1 src-port 443
To direct all traffic through port 443 through your slow pipe
sudo ipfw delete 1
When you are all done delete