rudimentary client working, doesn't poll for messages yet