Finishes #63 for SQL connections to remote servers