Modified *error messages @ fillMediaInfo now all contains the media name*
Modified *the byteStream to send is now cached to a buffer to get the real lenght. Using the lenght of the string could lead to problems when using special chars as they need more than a byte (up to 4)*