NKSession HHVM patch for access controls