Merge pull request #910 from afc163/2.x

Fix Error "invalid argument: `family` must be 4 or 6"
bump 2.2.9
fix doc upload error, bump 2.2.10
improve spm command performance