branch to land proposed SSL layer API changes

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/branches/kgiusti-proton-136@1417075 13f79535-47bb-0310-9956-ffa450edef68
Pull in SSL API rework from private branch.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/branches/kgiusti-proton-136@1417082 13f79535-47bb-0310-9956-ffa450edef68
PROTON-136: rework the SSL tests to use the new domain api.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/branches/kgiusti-proton-136@1417204 13f79535-47bb-0310-9956-ffa450edef68
PROTON-136: document the new ssl api.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/branches/kgiusti-proton-136@1417583 13f79535-47bb-0310-9956-ffa450edef68
PROTON-136: merge in latest from trunk

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/branches/kgiusti-proton-136@1418449 13f79535-47bb-0310-9956-ffa450edef68
PROTON-136: refactor session resume and corresponding test

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/branches/kgiusti-proton-136@1419677 13f79535-47bb-0310-9956-ffa450edef68
PROTON-136: resync to trunk

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/branches/kgiusti-proton-136@1419698 13f79535-47bb-0310-9956-ffa450edef68
PROTON-136: fix ssl stubs

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/branches/kgiusti-proton-136@1419704 13f79535-47bb-0310-9956-ffa450edef68
PROTON-136: update header docs.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/branches/kgiusti-proton-136@1419713 13f79535-47bb-0310-9956-ffa450edef68
PROTON-136: Java SSL session resumption. Added SslDomain and SslPeerDetails.

Applied patch from Philip Harvey<phil@philharveyonline.com>.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/branches/kgiusti-proton-136@1420861 13f79535-47bb-0310-9956-ffa450edef68
PROTON-136: Python changes for SSL session resumption. Modified Python wrapper and ssl to test use the new SSL api that accepts session_details

Applied patch from Philip Harvey<phil@philharveyonline.com>.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/branches/kgiusti-proton-136@1420862 13f79535-47bb-0310-9956-ffa450edef68
PROTON-181: Modified Java and Python code to move SSL settings from the SSL object to SSLDomain. Also added resetCache() method to ProtonSslEngineFactory to allow SSLDomain to be tweaked after first use, eg allowing ssl.py to change settings mid-test. Minor refactorings to Java SSL code to improve naming, and add more JavaDoc and logging.

Applied patch from Philip Harvey<phil@philharveyonline.com>.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/branches/kgiusti-proton-136@1420863 13f79535-47bb-0310-9956-ffa450edef68
PROTON-136: Minor changes: improved JavaDoc, and tweaked SSL engine facade interface. Java changes only.

Applied patch from Philip Harvey<phil@philharveyonline.com>.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/branches/kgiusti-proton-136@1420865 13f79535-47bb-0310-9956-ffa450edef68
PROTON-136: fixed various minor bugs in Python SSL code. Also tweaked how SSLEngineFacadeFactory handles anonymous peer mode.

Applied patch from Philip Harvey<phil@philharveyonline.com>.

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/branches/kgiusti-proton-136@1420866 13f79535-47bb-0310-9956-ffa450edef68
PROTON-186 : return the number of bytes needed to fully encode the message from Message.encode(2)

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1421452 13f79535-47bb-0310-9956-ffa450edef68
PROTON-180 - Add a driver function to observe/reset the activation status of a connector.
             This new function is on support of, and should only be used for non-amqp connectors.


git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1421531 13f79535-47bb-0310-9956-ffa450edef68
added condition API for sessions and links; added error reporting and redirect for messenger

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1421547 13f79535-47bb-0310-9956-ffa450edef68
NO-JIRA: Avoid using CMAKE_VERSION as it's not available pre cmake 2.8.3

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1421585 13f79535-47bb-0310-9956-ffa450edef68
PROTON-185: Proton-C build fails with older versions of cmake
- Turn of checking for undefined librarys symbols for older versions
  of cmake as there are bugs in which libraries get linked

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1421586 13f79535-47bb-0310-9956-ffa450edef68
PROTON-187: Proton-j SSL implementation should accept client certificate from a private key of a keypair

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1421778 13f79535-47bb-0310-9956-ffa450edef68