I tried to follow your code, and I am not sure why it is failing. I am using a custom SSLSocketFactory, wrap it as a SecureProtocolSocketFactory and registering a new Protocol much like you are doing. I am able to execute thousands of calls without any problems.
Mahesh
