refactor, clean, document rtc-to-net and netclient