Branch for new attempt at NIO

git-svn-id: https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2004 8e71dc83-d81e-6649-80f2-80b843a9b2be
JSIP-416 - latest stable working copy for base NIO (this is a branch, not trunk). The tests and examples are tweaked for quick smoke testing, they should never be merged into trunk.

git-svn-id: https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2005 8e71dc83-d81e-6649-80f2-80b843a9b2be
JSIP-416 - prevent leaks, clean up unused code and more fixes

git-svn-id: https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2008 8e71dc83-d81e-6649-80f2-80b843a9b2be
JSIP-416 - small patch

git-svn-id: https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2009 8e71dc83-d81e-6649-80f2-80b843a9b2be
JSIP-416 - small fix

git-svn-id: https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2010 8e71dc83-d81e-6649-80f2-80b843a9b2be
JSIP-416 - TLS support and small fixes

git-svn-id: https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2013 8e71dc83-d81e-6649-80f2-80b843a9b2be
JSIP-416 - TLS load and config fixes

git-svn-id: https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2014 8e71dc83-d81e-6649-80f2-80b843a9b2be
JSIP-416 - fix regression for message ordering and enhance the test, move some logging up

git-svn-id: https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2022 8e71dc83-d81e-6649-80f2-80b843a9b2be
JSIP-416 - logs

git-svn-id: https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2023 8e71dc83-d81e-6649-80f2-80b843a9b2be
JSIP-416 - fix stack shutdown exception race condition

git-svn-id: https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2068 8e71dc83-d81e-6649-80f2-80b843a9b2be
JSIP-416 - allow flexible configuration of TLS keys and trust stores through interface

author: Alexander Saveliev (Avistar)
reviewed: Vladimir Ralev

git-svn-id: https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2069 8e71dc83-d81e-6649-80f2-80b843a9b2be
JSIP-416 - small fix for regsression due to (allow flexible configuration of TLS keys and trust stores through interface)

git-svn-id: https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2070 8e71dc83-d81e-6649-80f2-80b843a9b2be
JSIP-416 - clean up the socket when stopping the NIO processor

git-svn-id: https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2071 8e71dc83-d81e-6649-80f2-80b843a9b2be
JSIP-416

Apply latest patches from Alexander Saveliev

* Thread names consistency, include ip:port:transport info the the thread names
* Make sure selector is open before calling select()
* Typo in reconnecton logic


Added fix for TLS null configuration to allow TLS to run without configs.

git-svn-id: https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2073 8e71dc83-d81e-6649-80f2-80b843a9b2be
JSIP-416

Apply latest patches from Alexander Saveliev

* some re-org in channels
* NPE for invalidated selector


git-svn-id: https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2094 8e71dc83-d81e-6649-80f2-80b843a9b2be
Fix small NPE for TLS configuration

git-svn-id: https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2095 8e71dc83-d81e-6649-80f2-80b843a9b2be
Fix small NPE for sockets closed early.

git-svn-id: https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2099 8e71dc83-d81e-6649-80f2-80b843a9b2be
merging from trunk to keep in sync for BIO

git-svn-id: https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2100 8e71dc83-d81e-6649-80f2-80b843a9b2be
Fix NIO UAC rapid outbound sockets race condition for http://java.net/jira/browse/JSIP-416

git-svn-id: https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2102 8e71dc83-d81e-6649-80f2-80b843a9b2be
Fix NIO UAC rapid outbound sockets race condition(2nd try) and tolerate errors for message valve http://java.net/jira/browse/JSIP-416

git-svn-id: https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2103 8e71dc83-d81e-6649-80f2-80b843a9b2be