update merry module & fix protocol in function urlencode