Make sure all error paths in dtls1_buffer_record() invoke SSLErr by
factoring error handling.

ok jsing@