groundwork for more secure node communication

- closes #1838
- closes #1923
- closes #1925
- closes #1926
- closes #1685