Refs #5837
Add some options to manage POST request and also cookies.
Can improve the http check now.