Includes ~2 years worth of fixes including security and build. Note: this pulls directly from master, not a release branch/tag. See https://github.com/Tencent/rapidjson/issues/1265 (cherry picked from commit 8a6c081df7)
8a6c081df7
Though we only need miniupnpc, rebasing and maintaining a miniupnpc-only repo is unrealistic.