PQconsumeInput() SSL error: unexpected eof while reading