Added many more options. Now supports GET/POST with cookies.