Implemented is_private in TorrentDef
Added secret check while replying to query/sending ping
Use is_private to set secret
Merge pull request #314 from NielsZeilemaker/private_flag

Implemented is_private in TorrentDef