Bug 932851 - Do not read from empty buffers when discarding, r=jorendorff

--HG--
extra : rebase_source : c7e537f280ee0b35c67a7aee9ad4d4b60d646dbd
Bug 906384 - Very simple global rate-limiting based on SimpleTokenBucket. Will tolerate a maximum of 8K/sec over 1 sec, and 3.6K/sec over 20 sec. r=ekr
Bug 932312 - Remove SRC_HIDDEN as it is no longer used. r=jwalden
Bug 932768 - Remove vestigial decompiler hacks from BytecodeEmitter. r=jwalden
Bug 937201 - Fix Windows builds without MOZ_ENABLE_PROFILER_SPS. r=BenWa
Bug 939116 - Apply the TCPSocket.send offset parameter correctly. r=dpreston