Harrogate Town's longest-serving player to retire