added missing braces {} on foreach and if
added missing braces {} on foreach and if

zendframework/zend-http,malinink/zend-http,Maks3w/zend-http,netroby/zend-http,weierophinney/zend-http,asgrim/zend-http