Added session_type to class
iter_bytes without mask
More flexible version of iter_bytes
Fix fetching of some attributes and Python 2/3 compatibility changes
Fix getching of attribute