Added support for CCM and CCM_8 cipher suites.
Added implementation of keying material export (RFC 5705) (API for PRF implementations changed, to handle chunked seeds).
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.