The method declarations in JMediawikiHttp, a subclass of JHttp, do not match up and causes PHP strict errors. This PR updates the subclass to have the correct declarations and implements similar handling of the param as exists in the parent classes.
Testing Instructions
The only way I can think to directly test this with the CMS repo is to run the build/helpTOC.php CLI script. Pre-patch, you'll get strict standards messages; post-patch, you won't.
@test works as described!