added inetd support (untested)