Complete server impl.