use eventmachine 1.0
automatically reconnect inbound listener if connection is lost
reopen logfile at SIGHUP