[#LIB-16] Connection.connect() throws IllegalStateException("Not a TCP Connection")