network test socket buffer size fix for VS2010/Win7