added configurable support for clients to send extra parameters like display and prompt, addresses #426