Get list parameters from request header

Recognise list parameters correctly (typically they end with "[]"), and
get their values as a list.