uses active resource headers to sent user_agents
Merge pull request #28 from sprestel/master

handling user_agents from active_resource