Gary O'Neil says he was always confident he would remain at West Ham United, despite officially being released by the club.