jishi/node-sonos-http-api — pull request #19 by cisox (2014-07-23 19:49:50+00:00)
Title: Add Content-Length to the API response headers

I had an application that was having issues with these responses because they didn't include a Content-Length header in the response.

I've changed the code to use implicit headers using ```setHeader()``` instead of ```writeHead``` and added code to set the ```Content-Length``` header after we have the JSON response.