Fix for some WSS case and https://java.net/jira/browse/JSIP-465

git-svn-id: https://svn.java.net/svn/jsip~svn/trunk@2328 8e71dc83-d81e-6649-80f2-80b843a9b2be
Fix for https://java.net/jira/browse/JSIP-470

git-svn-id: https://svn.java.net/svn/jsip~svn/trunk@2329 8e71dc83-d81e-6649-80f2-80b843a9b2be