add timeouts to camera and stream requests; simplify parsing