Internet client and server support.
make System.network.socket(domain, type, protocol): Constructs a new socket.
destruct System.network.socket(): Class destructor.
__destruct__(): Class destructor.
accept(): Accepts a new connection from the listening socket.
bind(host, port): Binds socket to given host and port.
close(): Closes socket and prevents further operations on it.
connect(host, port): Connects to given host and port.
eof(): Checks if the socket has any more data to read. 1 second timeout.
eof(timeout): Checks if the socket has any more data to read. Timeout in parameter.
listen(queue): Listen for connections on given socket.
read(size): Read bytes from socket and place in a string.
read(size, timeout): Read bytes from socket and place in a string. Takes a timeout argument
readline(): Reads a line of text into a string.
write(str): Writes bytes to socket.