- Code cleanup. - Return -1 from read() when the ssl session has been closed.
- Code cleanup.
- Return -1 from read() when the ssl session has been closed.

Former-commit-id: 5e95a26763c5b398bd6fcaa360ba402667897b28
jolie/jolie,jolie/jolie,jolie/jolie