Let JVM decide when to connect

Weblogic fails to retrieve the output stream if the connection is already connected (failing with IllegalStateException - Already connected). The JVM handles connect by itself so letting it choose the appropriate moment.
Merge pull request #3 from mathbruyen/patch-1

Hey Mathieu! Thanks for the patch. Do you want me to release patched artifact?