Fixed #9

Changing some networking stuff.