move record chunking to before encryption..
Merge pull request #98 from mirleft/proper-proper-sending-length

Fix record chunking ...