Note things happen async, so you probably need to do this using promises to make it work sensibly. e.g. wait until rtcToNet has started. etc. 

Update to freedom 0.3.2 and all freedom module calls now return promises.