.functions: Add SNI support in `getcertnames`

Conflicts:
	.functions
.functions: Improve `getcertnames`
[!]: fixed cherry-pick from upstream