parseParams: add RFC 5987 support