set up message queues for the IP and UDP thread
msg_queue is defined but never used, hook it up so IP packets get queued instead of dropped when there is more than one. change the name to ip_msg_queue to avoid naming conflicts.