modified Amf3Reader ReadString method