Follow Consistent HTTP Version

Also fix for issue #3500
https://github.com/yiisoft/yii/issues/3500