Remove obsolete config sections and update .cfg file:
This removes all of the obsolete websocket and rpc config sections.