Finished the main implementation of the StringSocket body and added a few tests.