Fixed getUrl and getTitle error

Fixed HttpCommandExecutor to correctly use curl and reset curl options
and parameter once one request is done.