pull the encoding attrs directly off a connection. fixes #455
fix scripting tests on python3
sentinel info should be a string in python3