tests + handle a strange bug from python3 apis

this set of changes introduces tox.ini, a behavior tests and a fix that deals with the bad behaviour from python3 SocketIO returning None on blocking ops