Putting basic authentication on the monitor was

A bad idea - I forgot about the fact the agents would
need to authenticate then.
Sticks and stones may break my bones but names

will never hurt me.

Expect when it comes to good coding conventions :-)

Changing agent monitor to use shared module named monitor/agent.lua
instead of selfmon.lua.
Minor punctuation problems with file.lua
Clean up commented out code.
Put in comment about body being empty.