Fix network decryption bug, remove debug statements