add documentation to set_application_expiration
extend request() to accept custom HTTP headers
quirk: vncUrl() currently breaks on default Accept: application/json.
To accomodate, allow response to meaningfully handle text/plain as well.