Add host and port to SSLEngine, backport fix #513