Added self argument in a method.
Corrected doctring format.
Add received_packets.pop().
Added send_packet() method in base class. Packets sent/received
counters are updated in the send/receive packet methods of
base class.