RelayWriter: fix valgrind #ifdef blocks, fix epoll to work properly with multiple sources, clean up test messages