CONN-1329: Fixed the code to support xmime:expectedContentTypes=application/octet-stream payload type

Fixed the code to support xmime:expectedContentTypes=application/octet-stream payload type