db: more information on sqlite3 errors
db: report SQL stmt in errors when available
openssl: disable old SSL protocols by default

Add 'auto alias for 'sslv2-or-v3, both of which now mean
"negotiate a reasonably secure protocol version", where
"secure" excludes SSL 2.0 and 3.0 (since POODLE).
db: use default SSL protocol
update typed/openssl protocol type
replace 'sslv2-or-v3 with 'auto in net libs
remove unnecessary protocol args in tests
net/win32-ssl: adjust protocol handling like openssl