Finished code cleanup for socket class, still need to finish clean on sign in/register classes