Network connection routing mechanism written in Golang