Mirror the patch to ui_openssl.c, also fix the broken conditional that made it not actually turn off echo in the first place. ok guenther@
This adds a Windows-specific versions of several symbols from libcrypto and openssl(1).