Fix conn.string check

Placed after parsing args
Merge pull request #19 from nutrija/master

Correct message when conn.string is invalid