Fixed connections

Fixed unsupported operand type(s) for %: 'bytes' and 'str'
Rxied __init__() got an unexpected keyword argument 'strict'