remainingBytes
stubbing out server