This function takes the following parameters:
URL to look for the query parameter.
Name of the query parameter.
Pointer to be filled with the value of the param_name query parameter in the given URL if found.
The returned parameter value should be freed by the caller using am_web_free().