Merge r1615211 from trunk:

* r1615211
  Provide a new function to handle X.509 hostname matching.
  Justification:
    Follow RFC 6125.
  Votes:
    +1: breser, philip, stefan2


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/1.8.x@1615212 13f79535-47bb-0310-9956-ffa450edef68