Fix #595, ratelimit divide by 2

Fix #595 by dividing the incoming ratelimit by 2.  Similar to #3942 but works as normal if no ratelimit is specified.

Tested with --rate-limit, -r, and no ratelimit.