Make conninfo strings optional; use correct argument indexes for better error messages