fixed problem connecting to server with client_min_messages set to debug. The code was not expecting to receive notice messages during the connection handshake.