Fixed handling of incoming application data after sending a close_notify (data shall be discarded silently, not trigger an error). Also fixed a couple of bugs in the command-line test tool.
Added support for client certificates (both client-side and server-side, but still missing an API for extracting the client identity from the certificate).
Initial import.