Added argument parsing and server
First working version of downloader
Downloaded now supports both magnet links and torrent file url
Added --keep-files option
Moved DownloaderPlugin and added some logging
Parse http-port and inactivity-timeout arguments as integers
Added logging to InactivityMonitor
Added --torrent-low-port and --torrent-high-port options
Minor log changes
Refactored argument passing
Added --torrent-download-rate and --torrent-upload-rate options
Apply session settings from torrent2http
Added torrent encryption
Status is now proper JSON
Added total_seeds and total_peers in status
Prepared server for video streaming
Find biggest video file in torrent
Added .avi mime-type
Added FileWrapper
Now functionally equivalent to torrent2http