[Bug 346] Null pointer reference in libws2_32