* refactored local test server * added option to specify an SSL context for the local test server * fixed SSL socket factory test case failing intermittently when running JRE 1.6