tcp_and_proxy/sammael.py - added more check and make the code more
readable