Chomp messages

Some server responses will add new lines, like "SSL connect attempt failed error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure", so the closing bracket will be on another line. (Don't know if there is a reasonable way to test that.)