Added a minimal regression test suite for nsock.