Better factoring of URL handling in elpher-go.