Well the first thing to note is that the maximum record length in SSL is exactly 16384. SSL/TLS does not preserve message boundaries - it is up to the application to determine if there are multiple messages in a single record, or a single message spanning multiple records. Sounds like the particular wrapper function is not properly chunking the message up into multiple records (or just does not support large messages).
-- http://mail.python.org/mailman/listinfo/python-list