Derived a simple version of client and server to test what we're doing wrong. The plan is to fix it a include the adavanced features step-by-step.