refactor(server): move listener init out of server.go
refactor(peer-server): move listener init out of peer_server.go