slight fix on eskim's header code for the PostAgent
Merge pull request #244 from cantino/post_agent_headers

Add optional headers to the PostAgent (thanks @eskim!)