The test program below shows an I/O error for Pike 8.1, and it shows
[...]
Seems to be due to an incompatibility in the implementation of Curve25519.
Try disabling Curve25519 for now (by eg disable it in the mapping ECC_CURVES in SSL.pmod/Constants.pmod).
/grubba