Plugin now correctly works after parsing an http request