Added support for image/pjpeg. Fixed some argparse related bugs.