use shared_ptr for libtorrent::session. fix #217.