Added client-side redirects, fixes #18