Full UDP implementation, compilable with VC2013