ZF-11162: Zend_Http_Client::setUri mutates argument
Zend_Http_Client::setUri (and therefore the constructor) mutates the passed Zend_Uri_Http object by changing the port number if it is not set to the default. Furthermore, setting parameters etc, will mutate the originally passed argument too. Imho this shouldn't be the case, the passed argument should be const, and if Zend_Http_Client wishes to adopt the instance, it should be cloned.
I'll be providing a patch and a test here.