Parse url from query param, if present