Support counting pkt-in msgs in controller

Count pkt-in messages as they are received
Allow the message queue to be cleared with new clear_queue fn
Also small bug fix: deref null exp_msg
1 file changed