Update lib/Raven/Client.php

Fix call to getallheaders() that exists only if PHP is loaded 
as an Apache module.