added required ruby version
added xml and additional headers support