throw error when stat=fail response is returned from server
add error handling for :httpc.request error
support rtm.tasks.setPriority
support rtm.tasks.setName
update sample.ex to use OptionParser