Get and set headers

Added methods for setting and getting container methods.
Tests may follow.