Added ability to send pre-serialized JSON via ArraySegment<byte>

#1546
Test sending preserialized json from a PersistentConnection

#1546