rotate std log file on SIGUSR1
matrix tcp client code cleanup
use enum SkynetMsg type as message header