remove response nil check
move protocol request and response to protocol.go