Normally you don’t need to do this. One possible case is when your client sends an AMF header, and you want to access it from a service. In this case you can do this in your service:
$header = Amfphp_Core_Amf_Handler::$requestPacket->headers[0];
Signing up is easy and takes less and 3 minutes. Take a moment to create a user and get verified instantly.
Sign up !Sign in to begin browsing the members areas and interracting with the community.

Or login with :
Enter your WordPress.com blog URL
http://.wordpress.com
Proceed