basic framework for a UDP server

This is incomplete yet, I'm hoping @matthijskooijman can help fill in the parts in GSCore.cpp around line 842, it's getting a bit over my head there :)