fixes issue #2855 where cafile is not set in HttpSocket
account for localized floats more robustly.

Normalize floats, strings too, so that they are validated as

    dddddddddd.dd

ref #2853
Merge pull request #2864 from AD7six/2.4-better-float-validation

account for localized floats more robustly.
Unsetting url both with & w/o ->base to allow proper handling when app not hosted at server's DocumentRoot
A better fix for issue #2711. Allows url to be unset from request array regardless of this->base context
Make sure a datetime instance is valid to avoid fatal errors.
Fix types in docblocks.
Don't do assignments inside conditionals.
Merge pull request #2869 from jalbertocr/master

FormHelper - Check DateTime instances to avoid fatal errors
Simplify conditionals.

Set default values to remove else cases.
One liner. Dont call function parseAccept() twice in RequestHandlerComponent.
Merge pull request #2873 from sam-at-github/requesthandlercomponent-reuse-a-var

One liner. Dont call function parseAccept() twice in RequestHandlerCompo...
Merge remote-tracking branch 'upstream/master'
Merge pull request #2856 from cvandeplas/master

fixes issue #2855 where cafile is not set in HttpSocket
Merge pull request #2866 from paddythenerd/master

Unsetting url both with & w/o this->base to allow proper handling when app n...
Fix postLink() & postButton() with nested data.

Flatten deeply nested array data before generating hidden inputs.
This solves 'Array to string conversion' errors.

Closes #2894
Merge branch 'master' into 2.5
Merge remote-tracking branch 'origin/2.5' into 3.0

Conflicts:
	lib/Cake/Network/Http/HttpSocket.php
	src/Network/Request.php
	src/Validation/Validation.php
	src/View/Helper/FormHelper.php
	tests/TestCase/View/Helper/FormHelperTest.php
Forward port tests from 0776b8721456f0db6ec5f2f32ecb0fff155293c6 to 3.x