Added reference token validation middleware sample
Added support to using/validating reference tokens to clients sample