Fixed wrong content-length setting for non-ascii chars

In the current version of the node wrapper, the _request method in the /lib/Resource.js sets "Content-length" character length instead of byte length of the 'requestData'. For a string that includes non-ascii characters - which require more than one byte to be represented - this ends up in setting the a wrong "Content-length