Cut additional image headers from MJPEG stream

D-Link cameras contain additional headers: X-Status, X-Tags, X-Flags
before image data. Also rewrite order of data processing to prevent
situations when not all headers sended right after new boundary