Basic stub for client and server