Tests for local infile
Check for SSL state to give a more specific pending state message