Fix double encoding in NetStream