kohana/core — pull request #487 by WinterSilence (2014-05-07 23:18:07+00:00)
Title: Fixed bugs, typos

fixed bug with undefined _protocol, moved from protocol() to __construct() - it will be faster

`return UTF8::strlen($this->_body);` correctly than strlen()

`if (function_exists('http_build_cookie'))` [function_exists faster than extension_loaded](http://www.merkushin.com/function_exists-vs-extension_loaded/) sick! but true 0_o