Error in handling of special characters in commands

I used .NET binary provider and had some issues with create Vertex/Edge's when properties i had to set had special charcters.

Turns out that when generating commands to send to server the string length is used and not the byte lenght, making the server act funny and the command AFTER the one with special characters will fail because it has data left on its socket i assume that makes the next command very weird from a server standpoint.