add Session.settings attribute
add a transmission._crypto module (mostly for unit testing)