Added option to include cookies in the incoming parameters array