This function takes the following parameters:
The original URL
The query parameter to be removed
Pointer to location where a new URL with the query parameter removed will be inserted.
The value returned should be freed using am_web_free().