related to #18 and is in ref cjdelisle/cjdns#634