Add torrent file download and working on torrent file parsing

* Login to PTP on startup instead of first search
* Add github.com/huangbong/gotrntmetainfoparser package
* Rename ptp_endpoint to ptp_endpoint_tls and add non-TLS ptp_endpoint
* Fixed issue with cachedir variable