Imports code.google.com/p/bencode-go code.google.com/p/go-nat-pmp github.com/hailiang/gosocks github.com/nictuku/dht github.com/nictuku/nettools Standard library imports bufio bytes crypto/sha1 encoding/hex encoding/xml errors flag fmt io io/ioutil log math math/rand net net/http net/url os os/signal path path/filepath runtime runtime/pprof strconv strings time