Fixed switched client and server debug messages
Fixed duplicate packets being printed