setup basic client/server communication