/// <summary>
 /// Sends given net response to the given target
 /// </summary>
 /// <param name="response"></param>
 public void Send(NetResponse response)
 {
     using (MemoryStream str = new MemoryStream(0))
     {
         BinaryWriter writer = new BinaryWriter(str, System.Text.Encoding.Unicode);
         response.Write(writer);
         writer.Flush();
         Send(str.ToArray(), 1, response.CommandId);
     }
 }