Fix Xively client

Hey guys,
Ran into a couple of little issues getting up and running w/ the reference Xively client. This gets me to successful data posting!