After a quick glance it seems something like this should be added to FakeSocket class in order to support the command:
import time
@command(())
def time(self):
return bytes(time.time()).split(".")
NOTE: I know there are microsecond precission issues with time on Windows (python 2.x), but it's probably good enough for what we want here.
I can open a PR if this is the right approach.