Removed unneccesary parameters for actions in Client.cs,

Added error handling when an invalid hostname is supplied
Updated readme