Testsuite: Added test of Stdio.Buffer()->_sprintf().
Type fix
Abort processing when fatal package is sent.
Use faster and better looking padding. This however limits us to 2147483648 bit RSA keys.
Update comments.
Testsuite: Fixed some state machine bugs in the SSL testsuite.

In some cases the when both the client and server have emptied their
send buffers, the last packet of data from the client may still be in
transit, so wait for all data to arrive at the server before closing
the server side of the connection.

Fixes issue with getting spurious truncated data in the SSL testsuite.

Also fixes bug where client->connect() detecting an expected
handshaking failure caused the threaded test to backtrace.
pgsql: Timeout queries only when needed.