Fixed a bug with unicode strings in the request builder.  This fixes #973