Provide host name to certificate_check_cb

Signed-off-by: Sven Strickroth <email@cs-ware.de>