code: function parseCasResponse(body) {
    body = body || '';
    var pt = '';
    if (/<cas:proxySuccess/.exec(body)) {
      if (/<cas:proxyTicket>(.*)<\/cas:proxyTicket>/.exec(body)) {
        pt = RegExp.$1;
      }
    }
  
    return pt;
  }
docs: Parse proxy ticket from /proxy response
  
  @param body
  @returns {string} proxy ticket