standard return values; fix tests

git-svn-id: http://svn.php.net/repository/pecl/http/branches/DEV_2@332086 c90b9560-bf6c-de11-be94-00142212c4b1