Initial relay client code