agent: Inform client of byte order.

So that it can know what to do with numbers that are in "network byte
order", for example.
web: Directly talk to NetworkManager.
daemon: Remove networking API.