Enable HEAD option and add JPEG dependency

Some cameras, such as Logitech C930, need JPEG support for decoding MJPEG images
Should be `=> :optional`