fix typos in example code
fix unstable/socket loading in windows
  closes PR 13743
db: temporary workaround for SSL one-record-per-write issue