Fix issue #32: pip crashes when server does not send content-type header

Thanks Kelsey Hightower for pointing what to change.