Implemented the multipart code. Fixed a bug inside the SSLEngine