Basic boilerplate Python code for server or client.