Add logging to query function
Update tests and benchmarks
Add logging at handlers
Ignore EOF exception at recvFrom call