Added some error handling for when the server sends an empty string.
Also, added a timestamp to the returned dict.