Added network capability.

Made the client accept an ip address on the command line.