Use BIO for all client I/O.

Use BIO for all reading and writing to the SSL engine.

Closes #26.