Fixed requestCURL

Fixed the class so it works properly, added DISABLE_SSL_CHECK option.
Fixed auto guessing of return uri.