Don't use posixpath for URLs

Use URL functions instead.

Fixes bug #1208618

Change-Id: I27bb29a6422200a1a522c50335e5d93d495ec429
Allow single-wildcard SSL common name matching

Fix bug 1212463

Change-Id: I168601fd9847497c2261c77ce6c856bca187c6c8
Merge "Allow single-wildcard SSL common name matching"
Merge "Don't use posixpath for URLs"