Separated messaging functions from setup functions
Renamed server_setup and client_setup to _utils