Build with debug symbols by default
Added test for closing UDP socket on bad input
Fixing bug where UDP socket gets closed on bad inputs