added support for HTTP reload messages
each tool now provides an output hint

This can be used to determine the final output filename as a result of running the tool.
handle socket.error connection refused
additional cleanup