Wrap upload input stream with BOMInputStream.