fix testsuite check_memory warning
restrict MUD_IP hack to CYGWIN only
proper implement flush_message