[WIP]I think this is close to working added a fake domain server for testing.