Dear sijjafer:
Creation of SSL Sockets takes a long time seeding the pseudo-random number generator, which by default is an instance of SecureRandom class. You can replace it with another random generator class of you own by passing it as the third parameter of the init() method of SSLContext, but....
You can read about SSL sockets in a couple of book from O'Reilly such as:
Java Network Programming - Second Edition.
Java Security - Second Edition.
Bye.