Running the Oracle JDK 1.6.0, MySQLProtocol.close() gets an unhandled UnspportedOperationException when trying to call socket.shutdownInput() when socket is an SSLSocket. This is per the SSL/TLS spec, and can be seen in the OpenJDK source.
Looks like this may have changed since previous JDK versions? The current close() code looks like it is supposed to handle this case, but only by catching the checked exception, not this runtime one.
fix issue #8 - ssl support broken, could not close connection, also m…
…akes sure we can connect with a DB, this was checked after sending the packet in the SSL case