Reliable DG working. Buffer is global. #ifdef add

Use conditional compile statements to control the function of device
buffer is now global. Should never be on stack.
Reliable Datagram Server and Client appears to be working