First commit, socket example from head first Java