sim: add control connection

does not do anything yet, just reads commands