Download

This adds downloading capabilities to both the client and the server. It's quite hacked together.