this really can't happen when your only exit loop condition is strstr('\r\n\r\n')