Add trimming as Option for getting GET POST COOKIE input

This does not break anything. Just an added feature. Thanks