Only trim newlines and carriage returns in BufferedSocket::GetLine