SSL Implementation using Java