adding a :logger option in the xero application initialization

I added in this patch a simple adding of the logger instance variable that was already there but not initialized. My changes in http.rb are about formatting, the Logger passed in options should be in charge of the timestamping imho, but you can disregard it.

I hope we could use various other log levels all over, especialy :debug, having a good logging really helps.