modified server to decrypt the received TCP or UDP payload