Allow single-wildcard SSL common name matching

Fixed Bug #1238607

Change-Id: I0f5756fa235483ba98d39776dcdba1ce0f991171