SERVER-13561 Improve wire API message validation
Merge remote-tracking branch 'upstream/master'