Fix redirect issue due to Golang bug

Fixes #69