Clean-up removing: - no longer relevant comments - unused types - unused imports
* Create separate portal rpc handlers for each sub-network. * Remove random gossip from history and state networks. * Move shared portal rpc endpoints into common handler. * Use enum instead of network string.