silence resolver test on win32 and fix a warning in protocol test