added ':user_agent' and ':content_type' shortcuts
added ability to specify headers as symbols
minor code refactoring