Added getUserAgent() method to Header class. Improved example to demonstrate how to add a custom interceptor.
Code cleanup.