Formatted main.c and added ReliableDatagramServer Test

Spacing done by eclipse automatically