Extend fix for #3419
Add support for configuring socket pipe connections in 'mysqli'

Supersedes PR #3415
Merge branch 'develop' into develop-stiliyan