Added support for more methods as well as cookie support.
added gitignore