libytcd: Seperate Network & Control Listening

Note that we do some sketchy double json parsing