Fix post-STARTTLS parsing in server/proto

Before, it would try to parse the ciphertext. Now, either the raw input or
the decrypted input is fed into the parser.